<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%--
  Created by IntelliJ IDEA.
  User: 联想小鑫
  Date: 2021/11/18
  Time: 9:40
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
    <script src="js/jquery-1.8.2.min.js"></script>
</head>
<body>
${user.name}同学你好,一下为您的入住记录
<table border="1">
    <tr>
        <td>住宿楼</td>
        <td>宿舍</td>
        <td>入住时间</td>
        <td>离开时间</td>
        <td>名字</td>
    </tr>
    <c:forEach items="${liststu}" var="s">
        <tr>
            <td>${s.floorname}</td>
            <td>${s.dromno}</td>
            <td>${s.starttime}</td>
            <td>${s.endtime}</td>
            <td>${s.name}</td>
        </tr>
    </c:forEach>
</table>
</body>
</html>
